home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / apps / astronmy / gravcalc.zoo / gravcalc / readme.doc < prev    next >
Text File  |  1987-04-21  |  5KB  |  131 lines

  1.  
  2.  Instructions for GravCalc v1.1
  3.  
  4.           by S. Osborn 1988
  5.  
  6.      Written using Fast Basic by Computer Concepts.
  7.  
  8.  
  9.   GravCalc, (as the name suggests) determines the gravitational
  10. force between two bodies and then calculates their subsequent
  11. motion through 2-dimensional space (3D space, apart from being
  12. pointless for two bodies, is a little complicated to represent
  13. on a 2D screen).
  14.  
  15.  It uses the basic 'A' level physics formula:
  16.  
  17.                F = -GMm/r^2    (G, grav. constant = 6.67E-11)
  18.  
  19. and Newton's laws of motion. 
  20.  
  21.   GravCalc is intended for use by those who wish to experiment
  22. with and observe the laws of gravity. It is simple to use, but
  23. a short explanation of the input parameters follow. Engineering
  24. format (eg 1.234*10^6 or 1.234 E6) and SI units are used
  25. throughout.
  26.  
  27. 1. Scales
  28.  
  29.   Distance across screen in metres.
  30.   Time step; this sets the intervals at which the computer
  31. recalculates the velocities of the bodies. A large number gives
  32. innacurate results but takes less time to show the path of the
  33. bodies. It is important to set a reasonable scale compared to the
  34. distances the bodies move (don't set a 1m scale when plotting the
  35. orbit of the moon).
  36.  
  37. 2. Body Mass and Radius
  38.  
  39.   Mass of the body in kg.
  40.   Radius in m. Note that the raduis serves no real purpose except
  41. to conform to the scales.
  42.  
  43. 3. Coordinates
  44.  
  45.   x and y coordinates are relative to the centre of the screen and
  46. are in metres (not pixels!), ie x=-1 y=+1 would mean left and up
  47. a bit from the centre.
  48.  
  49. 4. Velocity components
  50.  
  51.   The 'x' velocity component is the speed with which the body
  52. moves West to East (a negative number means East to West).
  53.   The 'y' velocity component is the speed with which the body
  54. moves South to North (a negative number means North to South).
  55.  
  56. 5. Options
  57.  
  58.   Execute; this starts the program. Press any key to stop.
  59.  
  60.   With Reset Data to Input off the program continues from where
  61. it left off, regardless of alterations to the input.
  62.  
  63.   With Display Data on information concerning the bodies is
  64. displayed during execution. This slows down the program.
  65.  
  66.   With Trace Path on the bodies leave a trail no the screen
  67. showing their path. With this OFF the program slows down.
  68.  
  69.   Load and Save will store your data on disk. There are also
  70. some examples to look at already on the disk.
  71.  
  72.  
  73.      Important Notes:
  74.  
  75.   It is no good just giving any old number to the computer since
  76. you are unlikely to see anything and may even cause an error
  77. after which the program will be unable to continue. For instance
  78. never give more than a sign and two digits in an "E___".
  79. (9 E+99 is quite big enough!)
  80.  
  81.   Look at the examples, they will make using GravCalc clearer.
  82.  
  83.   An interesting point to note is that GravCalc does not detect
  84. collisions. You can tell when one has occured as the two bodies
  85. will fly apart. This is because of the way GravCalc calculates
  86. in small steps and assumes that all mass is concentrated at a
  87. point (regardless of radius).
  88.  
  89.   Finally: remember the context in which Gravcalc works. We are
  90. assuming a perfect world (no external forces such as friction or
  91. other grav. forces). Also rembemer EVERYTHING is to a scale:
  92. GravCalc is not working in REAL time but it is, in scaled time.
  93. For instance in ATOMIC.DAT it takes the two tiny bodies 18 days
  94. to coincide, although everything happens on the screen in a few
  95. seconds.
  96.  
  97. The example files:
  98.  
  99. MOONORBI.DAT   (Default on loading) Represents the approx. orbit
  100.                of the Moon. However one orbit seems to take too
  101.                long! If you have any suggestions, please let me
  102.                know. (-the Sun & other planets perhaps?)
  103. ATOMIC.DAT     Very small scale (eg two H atoms)
  104. SMALL.DAT      Attraction of man sized objects
  105. COMET.DAT      A very elliptical and eccentric orbit.
  106. BISYSTEM.DAT   Two large (Earth sized) bodies spin about each other.
  107. SATELITE.DAT   A satelite orbits the Earth at 100 km.
  108. LOOPER.DAT     An interesing pattern repeated.
  109. BALEARTH.DAT   The path of a ball thrown on the surface of the Earth
  110. BALLMOON.DAT   The path of a ball thrown on the surface of the Moon.
  111.                These last two are intended for comparison. All
  112. factors are the same (except of course mass of Moon/Earth) but scales
  113. are different.
  114.  
  115.  
  116. PLEASE NOTE:
  117.  
  118.      If you are satisfied with the program please pass it on to
  119. friends or colleagues. If you have any questions or would like a
  120. copy of the source program (Fast Basic) please send a disk (if 
  121. you want source program) and 1 pound (for my time and postage - 
  122. cheques etc made out to Steven Osborn) to:
  123.  
  124.      Gravcalc info,
  125.      4 Arley Hill,
  126.      Cotham,
  127.      Bristol BS6 5PS,
  128.      England.
  129.  
  130.  
  131.